home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 28
/
Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso
/
Aminet
/
dev
/
c
/
dice-3.16.lha
/
examples
/
Shared_Lib
/
defs.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-09-27
|
820b
|
41 lines
/*
* DEFS.H
*/
#define abs
#include <exec/types.h>
#include <exec/ports.h>
#include <exec/semaphores.h>
#include <exec/libraries.h>
#include <exec/memory.h>
#include <clib/exec_protos.h>
#include <clib/alib_protos.h>
#include <string.h>
#define HSIZE 128
#define HMASK (HSIZE-1)
#define CSIZE 64 /* memory cache list size */
#define CMAXMEM 32 /* max cached blocks per array index */
#define LibCall __geta4 __regargs
#define Prototype extern
typedef struct Message Message;
typedef struct Library Library;
typedef struct Node Node;
typedef struct List List;
typedef struct SignalSemaphore SignalSemaphore;
/*
* include lib-protos.h AFTER our typedefs (though it doesn't matter in
* this particular test case)
*/
#include "test-protos.h"
extern const char LibName[];
extern const char LibId[];